/*
 * @Author: fisher
 * @Date: 2024-03-20 15:14:21
 * @LastEditors: fisher luthor-li@qq.com
 * @LastEditTime: 2024-03-27 15:15:50
 * @FilePath: \pscluster\routes\cluster.js
 * @Description:
 */
const Router = require('koa-router')
const router = new Router()
const clusterController = require('../controllers/clusterController')
router.get('/offlineCluster', clusterController.offlineCluster)
router.get('/deleteCluster', clusterController.deleteCluster)
router.get('/startCluster', clusterController.startCluster)
router.get('/clustersyncFile', clusterController.clustersyncFile)
router.get('/getprocess', clusterController.getprocess)
router.get('/reloadProcess', clusterController.reloadProcess)
module.exports = router
